<?php use_stylesheet('account') ?>
<?php use_javascript('account') ?>
<form id='pw_change' action='<?php echo url_for('@update_password') ?>' method='get'>
<p id='pw_msg'></p>
<h2>Change Password</h2>
<table id="pwtable">
<tr>
<td><label>Current Password:</label></td> <td><input type='password' name='current_pw' value='' /></td>
</tr>

<tr>
<td><label>New Password:</label></td> <td> <input type='password' name='new_pw' value='' /></td>
</tr>

<tr>
<td><label>Re-type:</label></td> <td> <input type='password' name='new_pw_chk' value='' /></td>
</tr>

<tr>
<td><p id='ajax'></td> <td><input type='button' id='change_pw' value='Update Password' /></td>
</tr>

<tr>

<td><input type='hidden' name='user_email' value='<?php echo $sf_user->getAttribute('user_email') ?>' /></td>
</tr>
</table>
</form>